home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 680 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: scrolling screen ?
  5. Date: 10 Jan 1996 03:16:45 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4cvb2t$dn6@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4cpout$ong@sunsystem5.informatik.tu-muenchen.de> <30f1c14e@lls.se>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Magnus Holmgren (cmh@lls.se) wrote:
  14. : In a message of 08 Jan 96, Juergen wrote to All:
  15.  
  16. :  JRF> done it the SA_DisplayID way, works.
  17. :  JRF> but using SA_Autoscroll tag won't work ? I used SA_AutoScroll,0.
  18.  
  19. : I think you also need to specify what overscan to use. If you don't, no
  20. : autoscroll. Forgot to mention that. ;)
  21.  
  22. Yeah! works now, thanx :)
  23.  
  24. I really wonder why you MUST specify an overscan for autoscroll.
  25. normal overscan is defaulted to screen anyway, so... wondering...
  26.  
  27. Another thing is you need SA_pen to make the gadgets look wb style.
  28. I really ask myself how this would be done in pre v36...
  29.  
  30. my current screenstruc (anyone interested ? ;)
  31.  
  32.    dc.w 0,0,1280,512      ;1280x512x256 :)
  33.    dc.w 8
  34.    dc.b 0,1               ;pens
  35.    dc.w $0000             ;viewmode none
  36.  
  37.    dc.w $0001|$1000 ;sysmode WB=$1 CUSTOM=$F EXT=$1000
  38.    dc.l 0
  39.    dc.l scrname
  40.    dc.l 0
  41.    dc.l 0
  42. ;--V36+: extended screenstruc
  43.    dc.l tagitems
  44.  
  45. tagitems:
  46.    dc.l $80000032,$00008804 ;SA_ModeID = HIRES HAM LACE
  47.    dc.l $80000039,$ffffffff ;SA_Autoscroll
  48.    dc.l $8000003A,sa_pen    ;SA_Pen
  49.    dc.l $80000034,$00000002 ;SA_Overscan. 1=txt, 2=gfx, 3=max, 4=future ;)
  50.  
  51.    dc.l 0,0 ;END of tagitems
  52.  
  53. sa_pen dc.l $ffffffff ;rkm said, ~0 as terminator. maybe only word ?
  54.  
  55. : --
  56. : Magnus Holmgren - Amiga programmer and enthusiast
  57. ------------------------------------------------------------------------
  58.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  59.  
  60.  
  61.  
  62.  
  63.